package com.ship.dispatch.mapper.treaShipNetwork;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ship.common.datasource.annotation.Slave;
import com.ship.dispatch.bean.IshShipBaseExtend;
import com.ship.dispatch.bean.treaShipNetwork.IhsShipBase;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface IhsShipBaseMapper extends BaseMapper<IhsShipBase> {

    @Slave
    List<IhsShipBase> queryShipBaseList(@Param("startDate") String startDate,@Param("endDate") String endDate);

    @Slave
    List<IhsShipBase> queryShipBaseAll();

    @Slave
    List<IhsShipBase> queryShipTypeList(@Param("startDate") String startDate,@Param("endDate") String endDate);

    @Slave
    List<IhsShipBase> queryShipTypeAll();

    List<IshShipBaseExtend> selectInMysql(@Param("startDate") String startDate,@Param("endDate") String endDate);
    List<IshShipBaseExtend> selectInMysqlAll();
}
